<?php
declare (strict_types = 1);

namespace app\api\controller;

use app\BaseController;
use app\middleware\admin\Auth;
use app\model\Order;
use app\model\Product;
use app\model\Users;
use app\model\UsersIntegral;
use think\facade\Db;

class Index extends BaseController
{
    public function grade()
    {

        return $this->success(UsersIntegral::select());
    }

    public function about()
    {

        return $this->success(Db::name('about')->where('id',"<>",0)->find());
    }

    public function store()
    {
        return $this->success(Db::name('store')->where('id',"<>",0)->find());
    }


}
